<template>
    <div class="set_process">
        <div class="set_process_inner">
            <div class="process_item">
                <div class="item_num active">1</div>
                <div>获取验证码</div>
            </div>
            <div class="process_line process_line_l active"></div>
            <div class="process_item">
                <div class="item_num active">2</div>
                <div>设置密码</div>
            </div>
            <div class="process_line process_line_r"></div>
            <div class="process_item">
                <div class="item_num">3</div>
                <div>完成</div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    
}
</script>

<style scoped lang="scss">
.set_process {
    position: relative;
    .set_process_inner {
        display: flex;
        justify-content: space-between;
        .process_item {
            width: 110px;
            text-align: center;
            background-color: rgb(255, 255, 255);
            .item_num {
                display: inline-block;
                width: 80px;
                height: 80px;
                line-height: 80px;
                font-size: 40px;
                border-radius: 50%;
                color: rgb(225, 228, 231);
                border: 2px solid rgb(225, 228, 231);
                margin-bottom: 26px;
                &.active {
                    color: #3881F8;
                    border: 2px solid #3881F8;
                }
            }
        }
    }
    .process_line {
        width: 50%;
        height: 4px;
        background-color: rgb(225, 228, 231);
        position: absolute;
        top: 40px;
        z-index: -1;
        &.active {
            background-color: #3881F8;
        }
    }
    .process_line_l {
        left: 0;
    }
    .process_line_r {
        right: 0;
    }
}
</style>
